<?php
//扩展后台菜单
DcConfigMerge('admin_menu.addon',[
    [
        'menu_ico'    => 'fa-image',
        'menu_title'  => '图床',
        'menu_module' => 'tuchuang',
        'menu_items'  => [
            [
                'ico' => 'fa-gear',
                'title' => '基本设置',
                'target' => '_self',
                'controll' => 'admin',
                'action' => 'index',
                'url' => DcUrlAddon( ['module'=>'tuchuang','controll'=>'admin','action'=>'index'] )
            ],
            [
                'ico' => 'fa-home',
                'title' => '前台首页',
                'target' => '_self',
                'controll' => 'admin',
                'action' => 'home',
                'target' => '_blank',
                'url' => DcUrlAdmin('tuchuang/index/index', '', '')
            ],
        ]
    ]
]);